package com.itheima.crm.pojo;

public class YuanGong {
	private Integer id;
	private Integer ygid;
	private String ygname;
	private String sex;
	private Integer age;
	private String organization;
	private String zhiwei;
	private String manager;
	private String loginname;
	private String loginpw;
	private String phone;
	private String pic;
	

	//当前页
	private Integer page;
	//每页数
	private Integer size = 5; 
	//开始行
	private Integer startRow = 0;
	
	
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getSize() {
		return size;
	}
	public void setSize(Integer size) {
		this.size = size;
	}
	public Integer getStartRow() {
		return startRow;
	}
	public void setStartRow(Integer startRow) {
		this.startRow = startRow;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	

	public Integer getYgid() {
		return ygid;
	}
	public void setYgid(Integer ygid) {
		this.ygid = ygid;
	}
	public String getYgname() {
		return ygname;
	}
	public void setYgname(String ygname) {
		this.ygname = ygname;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getOrganization() {
		return organization;
	}
	public void setOrganization(String organization) {
		this.organization = organization;
	}
	public String getZhiwei() {
		return zhiwei;
	}
	public void setZhiwei(String zhiwei) {
		this.zhiwei = zhiwei;
	}
	public String getManager() {
		return manager;
	}
	public void setManager(String manager) {
		this.manager = manager;
	}
	public String getLoginname() {
		return loginname;
	}
	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}
	public String getLoginpw() {
		return loginpw;
	}
	public void setLoginpw(String loginpw) {
		this.loginpw = loginpw;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	@Override
	public String toString() {
		return "YuanGong [id=" + id + ", ygid=" + ygid + ", ygname=" + ygname + ", sex=" + sex + ", age=" + age
				+ ", organization=" + organization + ", zhiwei=" + zhiwei + ", manager=" + manager + ", loginname="
				+ loginname + ", loginpw=" + loginpw + ", phone=" + phone + "]";
	}
	

}
